package com.maxd.modules.antPlant.api.resp;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

import java.util.List;

/**
 * @author mengshx
 * datetime 2024-04-14 09:41
 **/
@Getter
@Setter
public class WphPageQueryResp {
        @JsonProperty("message")
        private String message;
        @JsonProperty("status_code")
        private Integer statusCode;
        private Data data;
        @Getter
        @Setter
        public static class Data{
            @JsonProperty("goodsInfoList")
            private List<GoodsinfolistItem> goodsinfolist;
            @Getter
            @Setter
            public static class GoodsinfolistItem{
                @JsonProperty("goodsId")
                private String goodsid;
                @JsonProperty("goodsName")
                private String goodsname;
                @JsonProperty("goodsDesc")
                private Object goodsdesc;
                @JsonProperty("destUrl")
                private String desturl;
                @JsonProperty("goodsThumbUrl")
                private String goodsthumburl;
                @JsonProperty("goodsCarouselPictures")
                private List<String> goodscarouselpictures;
                @JsonProperty("goodsMainPicture")
                private String goodsmainpicture;
                @JsonProperty("categoryId")
                private Integer categoryid;
                @JsonProperty("categoryName")
                private String categoryname;
                @JsonProperty("sourceType")
                private Integer sourcetype;
                @JsonProperty("marketPrice")
                private String marketprice;
                @JsonProperty("vipPrice")
                private String vipprice;
                @JsonProperty("commissionRate")
                private String commissionrate;
                @JsonProperty("commission")
                private String commission;
                @JsonProperty("discount")
                private String discount;
                @JsonProperty("goodsDetailPictures")
                private List<String> goodsdetailpictures;
                @JsonProperty("cat1stId")
                private Integer cat1stid;
                @JsonProperty("cat1stName")
                private String cat1stname;
                @JsonProperty("cat2ndId")
                private Integer cat2ndid;
                @JsonProperty("cat2ndName")
                private String cat2ndname;
                @JsonProperty("brandStoreSn")
                private String brandstoresn;
                @JsonProperty("brandName")
                private String brandname;
                @JsonProperty("brandLogoFull")
                private String brandlogofull;
                @JsonProperty("schemeEndTime")
                private Long schemeendtime;
                @JsonProperty("sellTimeFrom")
                private Long selltimefrom;
                @JsonProperty("sellTimeTo")
                private Long selltimeto;
                @JsonProperty("weight")
                private Integer weight;
                @JsonProperty("brandId")
                private Integer brandid;
                @JsonProperty("schemeStartTime")
                private Long schemestarttime;
                @JsonProperty("saleStockStatus")
                private Integer salestockstatus;
                @JsonProperty("status")
                private Integer status;
                @JsonProperty("joinedActivities")
                private Object joinedactivities;
                @JsonProperty("haiTao")
                private Integer haitao;
                @JsonProperty("spuId")
                private String spuid;
                @JsonProperty("goodsIdsWithSameSpu")
                private Object goodsidswithsamespu;
                @JsonProperty("skuInfos")
                private Object skuinfos;
                @JsonProperty("exclusiveCoupon")
                private Object exclusivecoupon;
                @JsonProperty("cpsInfo")
                private Object cpsinfo;
                @JsonProperty("sn")
                private String sn;
                @JsonProperty("tagNames")
                private Object tagnames;
                @JsonProperty("whiteImage")
                private String whiteimage;
                @JsonProperty("futurePriceMsg")
                private Object futurepricemsg;
                @JsonProperty("isSubsidyActivityGoods")
                private Boolean issubsidyactivitygoods;
                @JsonProperty("subsidyActivityAmount")
                private Object subsidyactivityamount;
                @JsonProperty("subsidyTaskNo")
                private Object subsidytaskno;
                @JsonProperty("couponPriceType")
                private Integer couponpricetype;
                @JsonProperty("estimatePrice")
                private String estimateprice;
                @JsonProperty("goodsSoldNumDesc")
                private Object goodssoldnumdesc;
                @JsonProperty("productSales")
                private String productsales;
                @JsonProperty("destUrlPc")
                private String desturlpc;
                @JsonProperty("adCode")
                private String adcode;
                private Prepayinfo prepayinfo;
                @Getter
                @Setter
                public static class Prepayinfo{
                    @JsonProperty("isPrepay")
                    private Integer isprepay;
                    @JsonProperty("prepayPrice")
                    private Object prepayprice;
                    @JsonProperty("firstAmount")
                    private Object firstamount;
                    @JsonProperty("lastAmount")
                    private Object lastamount;
                    @JsonProperty("prepayFavAmount")
                    private Object prepayfavamount;
                    @JsonProperty("deductionPrice")
                    private Object deductionprice;
                    @JsonProperty("prepayDiscount")
                    private Object prepaydiscount;
                    @JsonProperty("prepayFirstStartTime")
                    private Object prepayfirststarttime;
                    @JsonProperty("prepayFirstEndTime")
                    private Object prepayfirstendtime;
                    @JsonProperty("prepayLastStartTime")
                    private Object prepaylaststarttime;
                    @JsonProperty("prepayLastEndTime")
                    private Object prepaylastendtime;
                }
                private Couponinfo couponinfo;
                @Getter
                @Setter
                public static class Couponinfo{
                    @JsonProperty("couponNo")
                    private String couponno;
                    @JsonProperty("couponName")
                    private String couponname;
                    @JsonProperty("buy")
                    private String buy;
                    @JsonProperty("fav")
                    private String fav;
                    @JsonProperty("activateBeginTime")
                    private Long activatebegintime;
                    @JsonProperty("activateEndTime")
                    private Long activateendtime;
                    @JsonProperty("useBeginTime")
                    private Long usebegintime;
                    @JsonProperty("useEndTime")
                    private Long useendtime;
                    @JsonProperty("totalAmount")
                    private Integer totalamount;
                    @JsonProperty("activedAmount")
                    private Integer activedamount;
                    @JsonProperty("couponType")
                    private Integer coupontype;
                    @JsonProperty("vipPrice")
                    private Object vipprice;
                    @JsonProperty("hiddenCouponReceiveUrl")
                    private Object hiddencouponreceiveurl;
                    @JsonProperty("limit")
                    private Integer limit;
                    @JsonProperty("left")
                    private Object left;
                }
                private Storeinfo storeinfo;
                @Getter
                @Setter
                public static class Storeinfo{
                    @JsonProperty("storeId")
                    private String storeid;
                    @JsonProperty("storeName")
                    private String storename;
                }
                private Commentsinfo commentsinfo;
                @Getter
                @Setter
                public static class Commentsinfo{
                    @JsonProperty("comments")
                    private Integer comments;
                    @JsonProperty("goodCommentsShare")
                    private String goodcommentsshare;
                }
                private Storeservicecapability storeservicecapability;
                @Getter
                @Setter
                public static class Storeservicecapability{
                    @JsonProperty("storeScore")
                    private String storescore;
                    @JsonProperty("storeRankRate")
                    private String storerankrate;
                }
            }
            @JsonProperty("total")
            private Integer total;
            @JsonProperty("sortFields")
            private List<SortfieldsItem> sortfields;
            @Getter
            @Setter
            public static class SortfieldsItem{
                @JsonProperty("fieldName")
                private String fieldname;
                @JsonProperty("fieldDesc")
                private String fielddesc;
            }
            @JsonProperty("page")
            private Integer page;
            @JsonProperty("pageSize")
            private Integer pagesize;
            @JsonProperty("recommendKeyword")
            private Object recommendkeyword;
            @JsonProperty("batchNo")
            private Object batchno;
        }
    }
